]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensions-tool: Use new Extensions proxy
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 21 Mar 2020 01:32:08 +0000 (02:32 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 23 Mar 2020 15:39:12 +0000 (15:39 +0000)
While sandboxing isn't a concern for the gnome-extensions command line
tool, using the Extensions proxy directly means that D-Bus methods are
called from the tool rather than gnome-shell, which allows the proxy
to auto-shutdown when done.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1106

subprojects/extensions-tool/src/main.c

index e9a457018ed14d5da96091f3bfd6952380c38ffc..62d383db7dcea6555dfa70971dc6cf9a0955bd12 100644 (file)
@@ -67,8 +67,8 @@ get_shell_proxy (GError **error)
   return g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
                                         G_DBUS_PROXY_FLAGS_NONE,
                                         NULL,
-                                        "org.gnome.Shell",
-                                        "/org/gnome/Shell",
+                                        "org.gnome.Shell.Extensions",
+                                        "/org/gnome/Shell/Extensions",
                                         "org.gnome.Shell.Extensions",
                                         NULL,
                                         error);